package com.ruoyi.project.system.data.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 order_data
 * 
 * @author ruoyi
 * @date 2022-05-11
 */
public class OrderData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 订单ID */
    @Excel(name = "订单ID")
    private String orderId;

    /** 下单信息 */
    @Excel(name = "下单信息")
    private String orderData;

    /** 金额 */
    @Excel(name = "金额")
    private String amount;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String state;

    /** 登录名称 */
    @Excel(name = "登录名称")
    private String loginUser;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }
    public void setOrderData(String orderData)
    {
        this.orderData = orderData;
    }

    public String getOrderData()
    {
        return orderData;
    }
    public void setAmount(String amount)
    {
        this.amount = amount;
    }

    public String getAmount()
    {
        return amount;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setLoginUser(String loginUser)
    {
        this.loginUser = loginUser;
    }

    public String getLoginUser()
    {
        return loginUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("orderData", getOrderData())
            .append("amount", getAmount())
            .append("createTime", getCreateTime())
            .append("state", getState())
            .append("loginUser", getLoginUser())
            .toString();
    }
}
